package com.lf.mapper;

import com.lf.model.EbProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ProductMapper {
    List<EbProduct> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
    int save(EbProduct ebProduct);
    public int delete(Integer epId);
    EbProduct findById(int epId);
   int updateByPrimaryKey(EbProduct ebProduct);

    int getMaxPage(int pageSize);

    EbProduct findById(Integer epId);
}